package com.xbx.admin.mapper;

import com.xbx.admin.dataobject.ModuleDO;
import com.xbx.admin.dataobject.ModuleDOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ModuleDOMapper {
    int countByExample(ModuleDOExample example);

    int deleteByExample(ModuleDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ModuleDO record);

    int insertSelective(ModuleDO record);

    List<ModuleDO> selectByExampleWithRowbounds(ModuleDOExample example, RowBounds rowBounds);

    List<ModuleDO> selectByExample(ModuleDOExample example);

    ModuleDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ModuleDO record, @Param("example") ModuleDOExample example);

    int updateByExample(@Param("record") ModuleDO record, @Param("example") ModuleDOExample example);

    int updateByPrimaryKeySelective(ModuleDO record);

    int updateByPrimaryKey(ModuleDO record);
}